package com.eva.admin.biz.system.rbac.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;
import java.util.List;

@Data
@SuperBuilder
@Schema(description = "权限节点视图")
public class PermissionNodeVO implements Serializable {

    @Schema(description = "权限主键")
    private Integer id;

    @Schema(description = "权限标识符")
    private String permission;

    @Schema(description = "节点类型")
    private String type;

    @Schema(description = "节点名称")
    private String label;

    @Schema(description = "子节点")
    private List<PermissionNodeVO> children;
}
